import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/stash/records/list',
    method: 'get',
    params
  })
}

export function delRecords(params) {
  return request({
    url: '/stash/records/del',
    method: 'get',
    params
  })
}

export function delBatch(params) {
  return request({
    url: '/stash/records/delBatch',
    method: 'get',
    params
  })
}

export function addRecords(data) {
  return request({
    url: '/stash/records/add',
    method: 'post',
    data
  })
}

export function editRecords(data) {
  return request({
    url: '/stash/records/edit',
    method: 'post',
    data
  })
}

export function findList(params) {
  return request({
    url: '/stash/records/find3',
    method: 'get',
    params
  })
}

